<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>【xxx】后台管理</title>
    <link rel="stylesheet" href=" __CONTROL_TPL__/css/add.css">
    <jquery/>
    <js file="__CONTROL_TPL__/js/add.js"/>
    <hdui/>
</head>
<body>
    <div id="admin">                     
        <div id="right">
            <div class="M-articless">
                <div class="top_box">
                    <h3>添加属性</h3>
                </div>
                <div class="art-lisi">
                    <!-- <div class="forMsg">操作成功信息</div> -->
                    <form action="{|U:'add'}" method="post">
                        <input type="hidden" name="goods_type_gt_id" value="{$hd.get.gt_id}"/>
                        <ul>
                            <li>
                                <span >属性名称</span>
                                <input name="attr_name" class="title" type="text" />
                            </li>
                            <li>
                                <span >属性类型</span>
                                <div class="bottomDb">
                                    <label><input class="checkbox" type="radio" name="show_type" value="0" checked="checked"/> 文本框</label>
                                    <label><input class="checkbox" type="radio" name="show_type" value="1"/> 下拉列表框</label>
                                    <em>
                                        (1) 文本框只能输入默认值，
                                        (2) 下拉列表框可以输入多个值
                                    </em> 
                                </div>
                                
                            </li>                           
                            <li>
                                <span >规格</span>
                                <div class="bottomDb">
                                    <label><input type="radio" name="is_spec" value="0" checked="checked"/> 否</label>
                                    <label><input type="radio" name="is_spec" value="1"/> 是</label>
                                    <em>选择是为规格属性，否为普通属性</em> 
                                </div>                               
                            </li>
                            <li>
                                <div class="input_default">
                                    <span >默认值</span>
                                    <input type="text" class="moren" name="attr_value[][attr_value]"/> 
                                </div>
                                <div class="select_default hide">
                                    <span >属性值</span>
                                    <input type="text" class="moren" name="attr_value[][attr_value]"/>
                                    <a href="javascript:;" onclick="add_attr_value(this)">增加属性值</a>
                                </div>
                            </li>                       
                            <li>
                                <input class="btn" type="submit" value="添加">
                            </li>
                        </ul>
                    </form>
                </div>
            </div>
        </div>       
    </div>
</body>
</html>